package torres.map.tile;

/**
 * @author Torres
 * Represents grass terrain, allows any ground entity to traverse.
 */
@SuppressWarnings("serial")
public class Grass extends Terrain {
	
	private static final Grass instance = new Grass();
	
	/**
	 * Creates a new instance of Grass. 
	 */
	private Grass() {
		imageName = "grass.png";
	}
	
	/**
	 * Returns the single instance of Grass.
	 * @return The single instance of Grass.
	 */
	public static Grass getInstance() {
		
		return instance;
	}
	
	/**
	 * Tests to see if this Terrain is traversable.
	 * @return True
	 */
	public boolean isTraversable() {
		
		return true;
	}
	
	/**
	 * Returns the String representation of this Terrain.
	 * @return The String representation of this Terrain.
	 */
	public String toString() {
		
		return " . ";
	}
}
